import com.gmongo.GMongo
import com.db.Config;
def mongo = new GMongo(Config.dbip,Config.dbport)
def db = mongo.getDB(Config.dbname)
def list =db.(Config.SENDER_EMAIL_MESSAGE).find() 
println "{"
def douhao=0
list.each{
	if(douhao==1) println ','
	println it
	douhao=1
}
println "}"
